import 'package:flutter_taotaoshipin/generated/json/base/json_field.dart';
import 'package:flutter_taotaoshipin/generated/json/user_drama_record_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class UserDramaRecordEntity {

	String? title;
	String? cover;
	@JSONField(name: "main_id")
	int? mainId;
	int? sort;
	@JSONField(name: "drama_name")
	String? dramaName;
	@JSONField(name: "drama_id")
	int? dramaId;
	String? vid;
	int? ctime;
  
  UserDramaRecordEntity();

  factory UserDramaRecordEntity.fromJson(Map<String, dynamic> json) => $UserDramaRecordEntityFromJson(json);

  Map<String, dynamic> toJson() => $UserDramaRecordEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}